package com.example.musicplayer.entity;

public class MusicAndMusicList {
    // 数据库列名
    public static final String KEY_ID = "_id";
    public static final String KEY_MUSIC_ID = "music_id";
    public static final String KEY_MUSIC_LIST_ID = "music_list_id";

    // 成员变量
    private Integer id;
    private String musicId;
    private Integer musicListId;

    // 构造函数
    public MusicAndMusicList(Integer id, String musicId, Integer musicListId) {
        this.id = id;
        this.musicId = musicId;
        this.musicListId = musicListId;
    }

    // getter和setter方法
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getMusicId() {
        return musicId;
    }

    public void setMusicId(String musicId) {
        this.musicId = musicId;
    }

    public Integer getMusicListId() {
        return musicListId;
    }

    public void setMusicListId(Integer musicListId) {
        this.musicListId = musicListId;
    }
}
